package net.csdn.business.kanban.common.dto;

import com.google.common.collect.Sets;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Set;


/**
 *  @author: zhangyalei
 *  @Date: 2021/11/2 10:33
 *  @Description: 只有分页的DTO
 */
@Getter
@Setter
public final class PageRequestDTO implements Serializable {


    /**
     * 页码
     */
    protected Integer page = 1;
    /**
     * 每页大小
     */
    protected Integer size = 10;

    /**
     * 排序
     */
    protected Set<PageSort> sorts = Sets.newHashSet();

}
